package it.avantsoft.ls.peer.command;

import it.avantsoft.ls.peer.PeerHandler;

public class DeadNieceABCommand extends PeerCommand {

    private String peerID;

    public DeadNieceABCommand(PeerHandler peerHandler, String id) {
        super(peerHandler);
        peerID = id;

    }

    public void execute() {
        getPeer().deadNiece(peerID);
    }

    public String toString() {
        return "DeadNieceABCommand{" +
                "peerID='" + peerID + '\'' +
                '}';
    }
}
